﻿using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace D2D2.Core.SpriteManager
{
    public abstract class BattleSpriteManager
    {
        protected List<BattleSprite> _sprites = new List<BattleSprite>();

        //public abstract BattleSprite Add(Rectangle location, SpriteType spriteType, int totalLive);
        public abstract void Update(GameTime gameTime);

        public virtual void Draw(SpriteBatch spriteBatch)
        {
            _sprites.ForEach(m => m.Draw(spriteBatch));
        }
    }
}
